/*
* Nova HTML Template v 1.2
*
*/

/* IMPORTS ------------------------------------------------------------*/

@import url('reset.css');

@import url('styled-elements.css');

/* HACKS ------------------------------------------------------------*/

.clear{
    clear:both;
    height:1px;
}

.inv{ display:none; }

.alignleft{
    float: left;
    margin: 5px 10px 5px 0px;
}

/* GENERAL ------------------------------------------------------------*/


body {
    line-height: 1;
    color: #000;
    background: #f1f1f1 url(../img/bg/patterns/noise.png);
    font-family:Tahoma;
    font-size:  100%;
}

.wrapper{
    width: 1300px;
    margin: 0px auto;
    position: relative;
}

#header{
    height: 117px;
    position: relative;
    z-index: 10;
    background: #415c91 url(../img/header-glow.png) top center no-repeat;
}


#main{
    width: 100%;
}

#content{
    min-height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 2.5em;
    color: #000000;
    text-decoration:none;
}

#logo{
    position: absolute;
    top: 35px;
    left: 30px;
}



#content p{
    margin: 0px; padding: 0 0 10px 0; 
}

#content Label {
    width: 15em;
    float: left;
    text-align: right;
    margin-right: 10px;
    display: block;
    color: #000;
    font-family:Tahoma;
    font-size: 16px;
    margin-left: -0.5px;
}

#content .line-divider{
    clear: both;
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* HEADLINE ------------------------------------------------------------*/

#headline{
    position: relative;
    width: 906px;
    margin: 20px auto 50px auto;
}

#headline>span.main{
    display: block;
    margin-right: 170px;
    font-family:Tahoma;
    font-size: 26px;
    line-height: 1.5em;
    text-shadow: 1px 1px rgba(255, 255, 255, 1);
}

#headline>span.sub{
    display: block;
    margin-right: 170px;
    font-size: 18px;
    line-height: 1.5em;
    text-shadow: 1px 1px rgba(255, 255, 255, 1);
}

#headline #link{
    display: block;
    position: absolute;
    top: 30px;
    right: 0px;
}

/* MENU ------------------------------------------------------------*/

#menu{
    width: 100%;
    padding-top: 1px;
    margin-bottom: 0px;
    background: #D8000C; 
}

#menu-holder{
    width: 100%;
    height: 79px;
    background:  url(../img/menu-bg.png) repeat-x;
}

/* NAVIGATION --------------------------------------------------------*/


#nav{
    display: block;
    position: absolute;
    top: 0px;
    left: 30px;
    height: 79px;
    width: 1500px;
}

#nav>li{
    display: block;
    float: left;
    height: 100%;
    margin-right: 32px;
}

#nav>li:first-child{}

#nav>li>a{
    display: block;
    font-size: 16px;
    color: #bac0c9;
    text-decoration: none;
    margin-top: 20px;
    text-shadow: 0px -2px rgba(0, 0, 0, .8);
}

#nav>li>a>span.subheader{
    display: block;
    font-size: 11px;
    color: #656b74;
    font-style: italic;
    margin-top: 10px;
}

#nav>li.current-menu-item{
    background: url(../img/menu-arrow.png) no-repeat center bottom;
}


#nav>li:hover>a{
    color: #fff;
}

/* sub navigation */

#nav>li ul{
    display: block;
    margin-top: 33px;
    background: #1d2023;
    border-radius: 0px 10px 0px 10px;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-radius: 0px 0px 10px 10px;

    -webkit-box-shadow: 0px 3px 2px rgba(0,0,0,0.4); 
    -moz-box-shadow: 0px 3px 2px rgba(0,0,0,0.4); 
    box-shadow: 0px 3px 2px rgba(0,0,0,0.4); 
}

#nav>li>ul ul{
    margin-top: 0px;
    border-radius: 0px 10px 10px 10px;
    -moz-border-radius: 0px 10px 10px 10px;
    -webkit-border-radius: 0px 10px 10px 10px;
    width: 906px;
}

#nav>li ul li a{
    display: block;
    padding: 10px 15px;
    display: block;
    font-size: 16px;
    color: #bac0c9;
    text-decoration: none;
}

#nav>li ul li a span{
    display: block;
}

#nav>li ul li a:hover{
    background: #000;
    color: #fff;
}

#nav>li ul li:last-child a:hover{ /* last item its rounded at bottom */
    border-radius: 0px 0px 10px 10px;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-radius: 0px 0px 10px 10px;
}



/* TITLE --------------------------------------------------------*/

#page-title{
    overflow: hidden;
    height: 50px;
    margin-bottom: 15px;
    background:  url(../img/tabs-divider.png) repeat-x bottom center;
    text-shadow: 1px 1px rgba(255, 255, 255, 1);
}

#page-title .title{
    display: block;
    float: left;
    font-family:Tahoma;
    font-size: 16px;
    font-weight:bold;
    line-height: 50px;
    margin-left: 30px;
}

#page-title .subtitle{
    display: block;
    float: left;
    margin-left: 30px;
    font-size: 16px;
    margin-top: 4px;
    line-height: 50px;
    color: #929191;
    font-style: italic;	
}



/* HEADERS --------------------------------------------------------*/

h1,h2,h3,h4,h5,h6{ 
    line-height: 1.4em;
    font-family:Tahoma;
    font-weight: lighter;
    color: #7e7e7e;
}

h1{ font-size: 30px; }

h2{ font-size: 28px; }

h3{ font-size: 26px; }

h4{ font-size: 24px; }

h5{ font-size: 22px; }

h6{ font-size: 20px; }


/* PAGES --------------------------------------------------------*/

#page-content{
    float: left;
    width: 906px;
    margin-left: 30px;
    line-height: 1.5em;
}

/* GALLERY -----------------------------------------------*/

#content .gallery{
    display: block;
    overflow: hidden;
}

#content .gallery li{
    display: block;
    float: left;
    overflow: hidden;
    background: url(../img/plus-sign.png) center center no-repeat;
    width: 204px;
    height: 148px;
    margin-left: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#content .gallery.three-cols li{
    width: 282px;
    height: 267px;
}

#content .gallery.two-cols li{
    width: 438px;
    height: 267px;
}

#content .gallery li a{
    display: block;
}





#content .commentlist .reply a{
    display: block;
    text-decoration: none;
    float: right;
    padding: 2px 8px;
    background: #ccc;
    color: #f1f1f1;
    font-size: 12px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

/* COMMENTS PAGINATION ------------------------------------------------------------*/

#content .comments-pagination {
    clear:both;
    overflow: hidden;
    padding:20px 0;
    position:relative;
    font-size:11px;
    line-height:13px;
    margin-bottom: 10px;
}

#content .comments-pagination span,
#content .comments-pagination a {
    display:block;
    float:left;
    margin: 2px 4px 2px 0;
    padding:6px 9px 5px 9px;
    text-decoration:none;
    width:auto;
    color:#fff;
    background: #555;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}









#content .pager li a{
    display: block;
    width: 100%;
    height: 100%;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
    color: #606060;
    border-radius: 33px;
    -moz-border-radius: 33px;
    -webkit-border-radius: 33px;
    background: #d1d1d1;
    background: -webkit-gradient(linear, left top, left bottom, from(#d1d1d1), to(#f1f1f1)); 
    background: -moz-linear-gradient(top,  #d1d1d1,  #f1f1f1);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d1d1d1', endColorstr='#f1f1f1', GradientType=0);

    border-top: 1px solid #bcbcbc;
}

#content .pager li:hover a,
#content .pager li.active a{
    color: #fff;
    background: #515558;
    background: -webkit-gradient(linear, left top, left bottom, from(#515558), to(#131313)); 
    background: -moz-linear-gradient(top,  #515558,  #131313);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#515558', endColorstr='#131313', GradientType=0);

    -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,.5); 
    -moz-box-shadow: 0px 1px 2px rgba(0,0,0,.5); 
    box-shadow: 0px 1px 2px rgba(0,0,0,.5); 

    border-top: none;
}


/* FOOTER - COLS ------------------------------------------------------------*/

#footer{
    position: relative;
    background: #2a2d30 url(../img/footer-glow.png) no-repeat top center;
    color: #fff;
}


/* FOOTER BOTTOM --------------------------------------------------------*/

#bottom{
    position: relative;
    width: 100%;
    font-size: 12px;
    line-height: 1.5em;
    line-height: 60px;
    color: #ffffff;
    background: #415c91 url(../img/bottom-shadow.png) repeat-x;

}

#bottom #bottom-text{
    width: 1000px;
    overflow: hidden;
    margin-left: 30px;	
}

#bottom a{
    color: #AFEAF9;
    text-decoration: none;
}

#bottom #to-top{
    position: absolute;
    right: 30px;
    top: -22px;
    width: 33px;
    height: 33px;
    background: url(../img/to-top.png) no-repeat;
    cursor: pointer;
}


/*home*/

#home_panel {
    clear: both;
    width: 1150px;
    height: 350px;
    padding: 10px;
    background: #415c91;
    overflow: hidden;
}

#menu_wrapper {
    float: left;
    width: 330px;
    height: 350px;
    background: #a4c5d3;
    padding: 1px;
    overflow: hidden;
}

#home_image {
    float: right;
    width: 800px;
    height: 340px;
    padding: 5px;
    overflow: hidden;
    background: url(../images/img2.jpg) no-repeat;
}

div.messages {
    /*display: block;*/
    border: 1px solid;
    /*margin-bottom: 8px;*/
    padding:15px 10px 15px 50px;
    color: #4F8A10;
    background-color: #DFF2BF;
    background-repeat: no-repeat;
    background-position: 10px center;
}
div.messages p {
    font-weight: bold;
    color: #4F8A10;
    margin: 0;
}
div.errors {
    /*display: block;*/
    border: 1px solid;
    /*margin-bottom: 8px;*/
    padding:15px 10px 15px 50px;
    color: #D8000C;
    background-color: #FFBABA;
    background-repeat: no-repeat;
    background-position: 10px center;
}
div.errors p {
    font-weight: bold;
    color: #D8000C;
    margin: 0;
}

/* tablecloth styles */
.tablecloth table{
    border:1px solid black;
    padding:0px;
    width:80%;
}
.tablecloth td{
    font-family:Tahoma;
    border-bottom: 2px solid #1f1f1f;
}
.tablecloth table{width:100%;border-collapse:collapse;margin:0.5em 0;}
.tablecloth th{
    text-align:center;padding:0.3em;
    -moz-border-radius: 2px;
    border-radius:2px;
    padding:5px;
    margin-bottom:5px;
    font-weight:bold;
    font-size: 14px;
    border-top:5px solid #555555;
    color: #ffffff;
    text-transform:uppercase;
    background-color: #49494b;
    border-bottom: 1px solid #1f1f1f;
}
.tablecloth th a{
    text-align:center;padding:0.3em;
    text-decoration:none;
    color: #ffffff;
}
.tablecloth td{
    text-align:center;padding:0.3em;
    vertical-align: top;
    font-size: 13px;
}

.tablecloth th a,td a:visited {
    color: #ffffff;
}

.tablecloth td a {
    text-decoration: underline;
    color: #000000;
}


.tablecloth th.sorted a:hover,th.sortable a:hover {
	background-position: right;
        text-decoration: underline;
        color: #ffffff;
}

.tablecloth th.sortable a {
	background-image: url(../images/icon/arrow.png);
}

.tablecloth th.order1 a {
	background-image: url(../images/icon/arrowdown.png);
}

.tablecloth th.order2 a {
	background-image: url(../images/icon/arrow.gif);
}

table, td, th {
    vertical-align:middle;
}

table {
    border-collapse:separate;
    border-spacing:0;
    border-top:0px;
    margin-bottom:2px;
    width:100%;
    text-align: left;
}

th{
    border-top:0px;
    color: #ffffff;
    padding:2px;
    text-transform:uppercase;
    background-color: #49494b;
}

td{
    padding:2px;
}

td, th{
    border-bottom: 0px;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}



